<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<title>翔天信贷软件管理系统</title>
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/reset.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/main.css" />
<!--[if lte IE 6]><link rel="stylesheet" media="screen,projection" type="text/css" href="css/main-ie6.css" /><![endif]-->
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/style.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/mystyle.css" />
<link href="css/grid/grid.css" type="text/css" rel="stylesheet"
	media="screen" />
<link href="css/calendar.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/aa.js"></script>
<script type="text/javascript" src="js/cal.js"></script>
<style>
a{text-decoration: none;}
</style>

</head>
<body>
<html:form action="writeReceipt" method="post">
	<html:hidden property="tableID" styleId="tableID" value="" />
	<html:hidden property="toNotPay"  styleId="toNotPay"/>
	<html:hidden property="callMethod" styleId="callMethod"/>
<%@include		file="/front/head.jsp"%> 
	<div id="content" class="row">
			<br />
				<div class="column grid_16">
					<table width="100%" border="0" cellspacing="0" cellpadding="0"	style="">
						<tr>
							<td>请选择查询条件 &nbsp;&nbsp;&nbsp;
				年份：<html:select property="userVO.year_search"			styleId="userVO.year_search">
					<html:option value="2011">2011</html:option>
					<html:option value="2012">2012</html:option>
					<html:option value="2013">2013</html:option>
					<html:option value="2014">2014</html:option>
					<html:option value="2015">2015</html:option>
				</html:select>
				
				&nbsp;&nbsp;&nbsp;&nbsp;月份：<html:select property="userVO.month_search"			styleId="userVO.month_search">
					<html:option value="1">1月份</html:option>
					<html:option value="2">2月份</html:option>
					<html:option value="3">3月份</html:option>
					<html:option value="4">4月份</html:option>
					<html:option value="5">5月份</html:option>
					<html:option value="6">6月份</html:option>
					<html:option value="7">7月份</html:option>
					<html:option value="8">8月份</html:option>
					<html:option value="9">9月份</html:option>
					<html:option value="10">10月份</html:option>
					<html:option value="11">11月份</html:option>
					<html:option value="12">12月份</html:option>
				</html:select>
				&nbsp;&nbsp;&nbsp;&nbsp;<html:submit
									property="cz" styleClass="input-submit">查询</html:submit>
							</td>
						</tr>
					</table>

					<br />
				</div>
			</div>	
		
	
	
	
	<aa:zone name="listZone">
	
	<%@include file="receipt_head.jsp"%>
	<table width="100%" class="date" id="dataTable">
		<tr>
			<th>姓名</th>
			<th>身份证&nbsp;&nbsp;</th>
			<th>联系方式</th>
			<th>所属区域</th>
			<th>车型</th>
			<th>车价</th>
			
			
			<th>首付款</th>
			<th>贷款额</th>
<logic:notEqual value="9" name="buser" property="roleid">
			<th>单据提交人</th>
			</logic:notEqual>
			

						<th>提交时间</th>
						
						<th>操作</th>
			
				
				
			
		</tr>

		<nested:iterate id="user" name="dateReturnList" indexId="dindex">
			<tr>
				<td><nested:write name="user" property="user_name" /></td>
				<td><nested:write name="user" property="user_sn" /></td>
				<td><nested:write name="user" property="user_phone" /></td>
				<td><nested:write name="user" property="area" /></td>
				<td><nested:write name="user" property="car" /></td>
				<td><nested:write name="user" property="jg" /></td>
				
				<td><nested:write name="user" property="shoufu" /></td>
				<td><nested:write name="user" property="dke" /></td>
				<logic:notEqual value="9" name="buser" property="roleid">
				<td><nested:write name="user" property="djr" /></td>
				</logic:notEqual>
						<td>
							<nested:write name="user" property="log_time"/>
						</td>
							<td class="submit">
							<logic:notEqual value="9" name="buser" property="roleid">							
								<input type="button" id="update" style="width: 40px;" value="审核"	onclick="toEditUser('<nested:write name="user" property="id"/>')">							
							</logic:notEqual>
							
							<logic:equal value="9" name="buser" property="roleid">							
								<a href="?callMethod=getUserInfo&tableID=<nested:write name="user" property="id"/>">详情</a>							
							</logic:equal>
							
							</td>
					
							
						
				
				
			</tr>
		</nested:iterate>

	</table>
	<br></div>
	
	
	</div>
	<%@include file="/front/nav.jsp"%>
	</aa:zone>
</html:form>

<script type="text/javascript">
	
	function getUserInfo(id) {
		$('#callMethod').val('getUserInfo');
		$('#tableID').val(id);
		$("form").submit();
	}
	
	
	
	function refresh(){
		ajaxAnywhere.submitAJAX("toQueryNoPay", "listZone");
	}
	
	
	ajaxAnywhere.showLoadingMessage = function() {}
	
</script>


</body>
</html>